package com.example.badmintonUser.Gym;

import com.example.badmintonCommon.DTO.BookPlaceRequest;
import com.example.badmintonCommon.entity.Evaluation;
import com.example.badmintonCommon.entity.Gym;
import com.example.badmintonCommon.pojo.Result;

import java.time.LocalTime;
import java.util.Date;
import java.util.List;

public interface GymServer {
    //用户查看某体育馆信息
    Result<String> FindGymMes(Integer id);

    //用户查看所有场地信息
    Result<List<Gym>> FindAllGyms();

    //用户预定场地
    Result<String> bookPlace(BookPlaceRequest bookPlaceRequest);

    //用户取消预定场地
    Result<String> UnbookPlace(String OderId,BookPlaceRequest bookPlaceRequest);

}
